package com.example.demo.entity.VO;

import com.dtflys.forest.annotation.NotNull;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.validation.constraints.Pattern;

@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "PetVO对象", description = "宠物对象")
public class PetVO {


    @NotNull
    @ApiModelProperty(value ="宠物名称",required = true)
    private String petName;

    @ApiModelProperty("宠物性别 0 母 1 公")
    private int petSex;

    @ApiModelProperty("宠物年龄")
    private Integer petAge;

    @ApiModelProperty("宠物照片")
    private String petImg;

    @ApiModelProperty("宠物简介")
    private String petInfo;
}
